//
//  LGTeamContentController.m
//  HeartDiseaseManage
//
//  Created by 1234 on 2023/2/21.
//

#import "LGTeamContentController.h"

@interface LGTeamContentController ()

/**   */
@property (nonatomic , strong)UITextView *textView;

@end

@implementation LGTeamContentController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.title = @"团队介绍";
    [self.view addSubview:self.textView];
}

-(void)setContent:(NSString *)content{
    _content = content;
    self.textView.text = content;
}

-(UITextView *)textView{
    if(!_textView){
        _textView = [[UITextView alloc]initWithFrame:CGRectMake(viewPix(16), viewPix(10), Screen_W-viewPix(32), Screen_H-topBarHeight-viewPix(20))];
        _textView.backgroundColor = [UIColor colorWithString:@"#F9F9F9"];
        _textView.tintColor = [UIColor colorWithString:@"#333333"];
        _textView.textColor = [UIColor colorWithString:@"#333333"];
        _textView.textAlignment = NSTextAlignmentLeft;
        _textView.font = LGFont(16);
        _textView.editable = NO;
    }
    return _textView;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
